#include <iostream>
using namespace std;
#include "mysqlDataBase.h"


int main()
{
    stdMysqlDataBase mySqlDB;

    if(mySqlDB.connectDB("test") == false)
    {
        cout<<"连接失败"<<endl;
        exit(-1);
    }

    std::string sql = "insert into students(name,age,grade) values ('zhou',25,'262Class');";
    mySqlDB.execute(sql);

    mySqlDB.closeDB();
}